 <#macro select paramCode value item>
 <#if value??><#assign selectValue=value></#if>
		<select class="span4 m-wrap"
		    <#if item ?? >
				 	${item}
			 </#if> 
		>
			<option value="">选择</option> 
			<#list paramCode as code> 
				<option value="${code.paramValue}" 
				 <#if  selectValue?string   =  code.paramValue>
				 	selected="selected"
				 </#if> 
				>${code.paramName}</option> 
			</#list> 
		</select>
</#macro>

 <#macro select2 paramCode value item>
 <#if value??><#assign selectValue=value></#if>
		<select class="span4 m-wrap"
		    <#if item ?? >
				 	${item}
			 </#if> 
		> 
			<#list paramCode as code> 
				<option value="${code.paramValue}" 
				 <#if  selectValue?string   =  code.paramValue>
				 	selected="selected"
				 </#if> 
				>${code.paramName}</option> 
			</#list> 
		</select>
</#macro>

<#macro radio paramCode value item> 
 		<#list paramCode as code> 
				&nbsp;<label class="radio "> <input type="radio"
						 <#if item ?? >
				 			${item}
			 			</#if> 
			 			 value="${code.paramValue}" 
			 	 	 <#if value ='' >
			 	       <#if code_index = 0> checked</#if>
			 	 	 </#if> 
				 <#if value?string =  code.paramValue>
				 	checked
				 </#if> /> ${code.paramName}
				 </label>
			</#list>  
</#macro>

<#macro checkbox paramCode valueList item> 
 		<#list paramCode as code> 
				&nbsp;<label class="checkbox "> <input type="checkbox"
						 <#if item ?? >
				 			${item}
			 			</#if> 
			 			 value="${code.paramValue}" 
			 	 <#list valueList as value> 
				 <#if value =  code.paramValue>
				 	checked
				 </#if>
				 </#list> /> ${code.paramName}
				 </label>
			</#list>  
</#macro>

<#macro translate paramCode value> 
			<#list paramCode as code>  
				 <#if value =  code.paramValue>
				 	${code.paramName}
				 </#if>  
			</#list> 
</#macro>

